UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit system must be configured to audit all administrative, privileged, and security actions.


Overview

Finding ID Version Rule ID IA Controls Severity
V-29244 GEN002760-5 SV-37660r2_rule ECAR-1 ECAR-2 ECAR-3 Medium
Description
If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2014-01-09

Details

Check Text ( C-36949r3_chk )
Check the auditing configuration of the system.

Procedure:
# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "stime"

# cat /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "settimeofday"

If the result does not contain "-S stime", this is a finding.

The settimeofday caveat is only required on systems using a b64 architecture.
Fix Text (F-32213r2_fix)
The "-F arch="restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures "b32" and "b64" for specifying these rules.
On single architecture systems, the "-F arch="restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running "uname -m". See the auditctl(8) manpage for additional details.
Any restrictions (such as with "-F") beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately.
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding.
Procedure:
Add the following lines to the audit.rules file to enable auditing of administrative, privileged, and security actions:

-a exit,always -F arch= -S stime
-a exit,always -F arch= -S settimeofday (only needed on systems using a b64 architecture)

Restart the auditd service.
# service auditd restart